package com.fcat.common.user.service;

import com.fcat.springboot.mybatis.service.TsuantoneBaseService;
import com.fcat.common.user.entity.RoleGroup;
import com.fcat.common.user.vo.RoleGroupVO;
import tk.mybatis.mapper.entity.Example;

import java.util.List;
import java.util.Map;

public interface RoleGroupService extends TsuantoneBaseService<RoleGroup> {

    List<RoleGroupVO> getTree(String roleName,String username,Long companyId);

    List<RoleGroup> selectListByExample(Example example);

    List<RoleGroup> getListByCompnayIdAndUsername(Map<String, Object> map);
}